import numpy
from PyQt4 import QtCore



class KOrder(QtCore.QObject):
	''' represent an order placed by the strategy'''
	class Action(QtCore.QObject):
		BUY				= 1
		BUY_TO_COVER	= 2
		SELL			= 3
		SELL_SHORT		= 4
	def __init__(self,parent,symbol,price,action,qunat):
		QtCore.QObject.__init__(self,parent)

